/* 头部第二个导航栏 */
.headTwo-nav {
   width: 100%;
   background-color: #fff;
}
.headTwo-nav .w{
    height: 100px;
    
}
.xm-logo{
    float: left;
    width: 55px;
    height: 55px;
    position: relative;
    background-color: rgb(255, 103, 0);
    margin-top: 22px;
    transition: all .2s;
    overflow: hidden;
}
.xm-logo::after,.xm-logo::before{
content: "";
position: absolute;
width: 55px;
height: 55px;
background-size: contain;
}
.xm-logo::after{
    background: url(../images/mi-logo.png)50% 50%;
}
.xm-logo::before{
    background: url(../images/mi-home.png);
    right: 54px;  
    background-color: rgb(255, 103, 0);
}
.xm-logo:hover.xm-logo::before{
    transform: translateX(55px);
}
.xm-logo:hover.xm-logo::after{
    transform: translateX(55px);
}
/* 中间ul */
.headTwo-nav ul {
    float: left;
    margin-left: 88px;
}
.headTwo-nav ul li,a{
    display: inline-block;
    font-size: 16px;
    color: #333;
    margin-right: 10px;
    line-height: 100px;
}
.headTwo-nav ul li,a:hover{
    color: rgb(255, 103, 0);
}
/* 最右侧搜索框 */
.serach-header{
    width: 290px;
    height: 50px;
    float: right;
    position: relative;
    margin-top: 20px;
    
}
.serach-input{
    width: 245px;
    height: 50px;
    float: left;
    outline: none;
    position: relative;
   }
.serach-a:hover{
    background-color: rgb(255, 103, 0);
    color: #fff;
}
.serach-a{
    float: right;
    position: relative;
    width: 50px;
    height: 52px;
    position: absolute;
    border: 1px solid rgb(150, 149, 149);
    border-left-style: none;
}
.serach-a i{
    position: absolute;
    top: -20px;
    display: inline-block;
    font-size: 25px;
    margin-left: 50%;
    transform: translateX(-50%);     
}

/* 轮播图 */
.layulb .w{
    height: 460px;
}
.layulb{
    position: relative;
    background-color: #fff;
}
.layui-carousel div img{
    height: 460px;
}
/* 轮播图左侧 */
.hiddenLeft{
    width: 400px;
    height: 400px;
    background-color:#fff;
    position: absolute;
    top: 0;
    left: 24%;
    display: none;
}
.sshowleft ul{
    float: left;
    position: absolute;
    top: 0;
    width: 295px;
    height: 460px;
    background: rgba(105,101,101,.6);
    
}
.sshowleft ul li i{
   float: right;
   font-size: 25px;
   color: #fff;
   margin-right: 10px;
  line-height: 45px;
}
.sshowleft ul li{
 display: block;
height: 45px;
z-index: 9999;
color: black;

}
.sshowleft ul li:hover{
    background-color: #ff6700;
    color: #fff;
}
.sshowleft a{
    display: inline-block;
    width: 120px;
    height: 30px;
    line-height: 50px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    margin-left: 30px;
}
.sshowleft a:hover{
    color: #fff;
}
/* 轮播图下面部分 */
.sshowlast-nav .w{
    height: 170px;
    margin-top: 20px;
}
.last-one{
    width: 234px;
    height: 170px;
    float: left;
    background-color: #5f5750;
}
.last-nav{
  float: left;  
  margin-left: 14px;
}
.last-nav img{
    width: 316px;
   height: 170px;
}
.last-one ul {
    float: left;
    margin-left: -15px;
    width: 234px;
    height: 170px;
    
    }
.last-one ul li{
    float: left;
    width: 60px;
    height: 58px; 
    margin: 15px 5px 0 7px;
    text-align: center;
   
}
.last-one ul li a{
    width: 100px;
    height: 50px;
    color: #a3a2a2;
    line-height: 40px;
    font-size: 14px;
}
.last-one ul li a:hover{
    color: #fff;
}
.last-one ul li i{
    display: block;
    font-size: 27px;  
}
/* 小米闪购 */
.flsh-shopping {
    width: 100%;
   
}
.flsh-shopping .w{
    height: 398px;
    margin-top: 25px;
}
.flsh-shopping h2{
    font-size: 22px;
    font-weight: 200px;
    line-height: 58px;
    color: #333;
}
.flsh-nav div{
    float: left;
    width: 234px;
    height: 339px;
    margin-right: 14px;
}
.flsh-nav div:last-child{
    margin-right: 0px;
}
.flsh-list{
    position: relative;
    background-color:#f1eded;
    text-align: center;
}
.flsh-list::before,.s1::before,.s2::before{
content: "";
width: 234px;
height: 1px;
position: absolute;
background-color: salmon;
left: 0;
}
.flsh-list p{
    color: rgb(245, 48, 27);
    font-size: 22px;
    margin-top: 72px;
}
.flsh-list img{
    width: 34px;
    height: 53px;
    margin: 25px 0;
}
.flsh-list h5{
    color: rgba(0,0,0,.54) ;
    font-size: 15px;
} 
.flsh-list span{
    width: 46px;
    height: 46px;
    background: #605751;
    color: #fff;
    font-size: 24px;
    line-height: 46px;
    display: inline-block;
    margin: 40px 5px 0 5px;
    
}
.flsh-span::before{
    content: ":";
    position: relative;
   right: 17px;
   color: #605751;
}
.flshnav{
    background-color: #fff;
}
.flshnav img{
   width: 151px;
   height: 111px; 
}
.flshnav p{
    display: inline;
    font-size: 15px;   
}
.flshnav h3{
  margin-top: 50px;
}
.flshnav h4{
    color: rgb(107, 105, 103);
    font-size: 13px;
    margin-top: 5px;
}
.ffont span{
    margin-top: 0px;
    background-color: #fff;
    color: rgb(107, 107, 103);
    font-size: 15px;
    text-decoration: line-through;
}
.s1::before{
    background-color: rgb(96, 241, 144);
}
.s2::before{
    background-color: rgb(139, 96, 241);
}
.flsh-shopping-img{
    width: 1226px;
    margin-top: 20px;
   }
/* 手机 */
.phone{
    margin-top: 160px;
   position: relative;
}
.phone .w{
    height: 614px;
}
.phone-big{
    width: 234px;
    height: 614px;
    float: left;
    background: url("../images/ia_100003375.webp");
    background-size: contain;
}
.htmlfont{
    margin-bottom: 15px;
}
.phone-ul li{
    float: left;
    width: 234px;
    height: 300px;
    background-color: #fff;
    margin: 0 0 14px 14px;
    
}
.phone-img{
    margin-left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
   margin-top: 20px;
   margin-bottom: 10px;
}
.phone-h4,.phone-span{
    float: left;
    line-height: 20px;
   margin-left: 50%;
   transform: translateX(-50%);
}
.phone-p{
  line-height: 37px;
  font-size: 13px;
  text-align: center;
  color: #a3a2a2;
}
.phone-span{
     color: #ff6700;
}
/* 家电 */
.homeApp {
    margin-top: 230px;
}
.homeApp .w{
height: 330px;
}
.homeApp-first img,.homeApp-li{
    float: left;
    width: 234px;
    height: 300px;
}
.homeApp-li{
    margin-left: 14px;
    margin-bottom: 14px;
    background-color: #fff;
}
.homeApp-li img{
    width: 160px;
    height: 160px;
    
}
.firstimg:hover,.homeApp-li:hover{
   box-shadow:0 5px 5px #dad6d6;
    transform: translateY(3px);
}

/* 最右侧 */
.rightNav{
float: right;
position: fixed;
top: 50%;
transform: translateY(-50%);
right: 0;
box-sizing: border-box;
z-index: 999;
}
.rightNavs{
    width: 80px;
    height: 80px;
    background-color: #fff;   
    padding: 10px;
    color: rgb(78, 76, 76);
}
.rightNavs p:hover .rightNavs i{
    color: #ff6700;
}
.rightNavs p{
    display: inline-block;
    width: 84px;
    height: 0px;
    text-align: center;
}
.rightNavs i:hover{
    color: #ff6700;
}
.rightNavs i{
    display: block;
    margin-left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
   
   
}

